﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ServiceModel;
using Microsoft.Practices.Unity;
using WDA.Core;

namespace Sample
{
   [ServiceContract]
   public interface IPrinterService
   {
      [OperationContract]
      void Print(string value);      
   }

   public class PrinterService : IPrinterService
   {
      private static Logger _log = new Logger("Sample.ParserService");

      [Dependency(WDA.Core.WDAContainerNames.InternalContainerName)]
      public IUnityContainer Container { get; set; }
            
      #region IPrinterService Members
      public void Print(string value)
      {
         //_log.WriteInfo(value);
      }
      #endregion
   }
}
